﻿using System.ComponentModel.DataAnnotations;
using YWM.Dto;

namespace PLC.Interface.Authorizes
{
    public class LoginDto : BaseDto
    {
        [Required(ErrorMessage ="用户名不能为空")]
        public string Username { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        public string Password { get; set; }
    }
}
